package com.lingnan.wanxiangxinxun.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDTO implements Serializable {

    private Integer id;
    private String name;
    private String password;
    private String phone;
    private String email;
    private Integer status;
    private String avatar;
    private Integer isAuthor; //作者等级(0非作者，1普通作者，2官方作者)
    private Integer worksNum; //作品数量
    private LocalDateTime lastLoginTime;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

}
